package com.ueboot.weishop.service.order;

import com.ueboot.weishop.entity.order.*;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Date;
import java.util.List;

public interface OrderNewService {

	List<OrderEntity> findSearch(OrderEntity model, Date payTimeStart, Date payTimeEnd);

	Page<OrderEntity> pagingSearch(Pageable pageable, OrderEntity model, Date payTimeStart, Date payTimeEnd);
}
